<template>
  <el-row v-icanva v-iedit :gutter="value.data.attribute.gutter" :justify="value.data.attribute.justify" :align="value.data.attribute.align" :type="value.data.attribute.type" class="c-row">
    <component :is="dragdrop.components" v-model="value.slot[i]" v-for="(dragdrop,i) in value.slot" :key="i"></component>
  </el-row>
</template>
<script type="text/javascript">
export default {
  props: {
    value: {
      type: [Array, Object]
    }
  },
  data() {
    return {
    }
  },
  /**
   * 计算属性
   * @type {Object}
   */
  computed: {

  },
  /**
   * 页面加载执行
   * @return {[type]} [description]
   */
  mounted() {

  },
}

</script>
<style type="text/css" lang="scss">
.c-row {
  min-height: 35px;
  margin:5px !important;
  padding:5px !important;
    border: solid 1px black;
}

</style>
